#include <stdio.h>
int main()
{
	int a=0, b=0, c=0;
	scanf_s("%d %d %d", &a, &b, &c);
	if (a > b > c)
		printf("%d %d %d",a,c,b);
	else if (a > c > b)
		printf("%d %d %d",a,c,b);
	else if (b > a > c)
		printf("%d %d %d",b,a,c);
	else if (b > c > a)
		printf("%d %d %d",b,c,a);
	else if (c > b > a)
		printf("%d %d %d",c,b,a);
	else
		printf("%d %d %d",c,a,b);
	return 0;
}
